package com.stupid.eureka.client.rec.clients;


import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import java.util.Map;

@FeignClient("eureka-client-order")
public interface OrderClient {

    @RequestMapping(value = "/createOrder", method = RequestMethod.POST)
    ResponseEntity<String> createOrder(Map<String, String> order);
}
